//
//  CustomTextField.m
//  作业2
//
//  Created by dllo on 16/7/16.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "CustomTextField.h"

@implementation CustomTextField

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (void)drawPlaceholderInRect:(CGRect)rect {
    [[UIColor grayColor] setFill];
    [[self placeholder] drawInRect:CGRectMake(rect.origin.x, rect.origin.y + 9, rect.size.width, rect.size.height) withFont:[UIFont systemFontOfSize:18]];
}

@end
